#include "MsgQueue.hpp"
#include"Cor.hpp"

int main()
{
    Server server;
    HandlerEntry he;
    while (true)
    {
        std::string buf;
        server.Recv(CLIENT, &buf);
        if(buf == "quit") break;
        std::cout << buf << std::endl;
        he.Run(buf);
    }
    return 0;
}